package com.eating8.action.user;

import java.io.IOException;

import org.apache.struts2.config.NullResult;
import org.apache.struts2.convention.annotation.Result;
import org.apache.struts2.convention.annotation.Results;

import com.eating8.action.BaseAction;

/*@Results({     
	@Result(name="success", type=NullResult.class, value = "/success.html", params = {}),     
	@Result(name="error", type=NullResult.class, value = "/error.html", params = {})     
})  */
public class UserAction extends BaseAction {
	//@Action("/user/user-login")
	public String login() throws IOException{
		
		//response.sendRedirect(request.getContextPath()+ "/index.jsp");
		return "login";
	}
	
	public String toLogin(){
		
		
		
		return "login";
	}
	
} 
